package lab04.test03;

/**
 * Created by AIR on 2017/12/28.
 */
public class BThread implements Runnable{

    @Override
    public void run() {
        while (true){

            try {

                Thread.sleep(2000);

            } catch (InterruptedException e) {

                e.printStackTrace();

            }

            System.out.println("B");

        }

    }
}
